class AddCloumnToMicoposts < ActiveRecord::Migration[5.2]
  def change
    add_column :micoposts,:user_id,:bigint
    add_foreign_key :micoposts,:users
  end
end
